#ifndef SAMPLE1_H
#define SAMPLE1_H

#include "SampleBase.h"
#include <string>
#include <glad\glad.h>
namespace ShaderLab {

class TriangleSample : public SampleBase {
public:
	TriangleSample();
	~TriangleSample();

	void Init();
	void Update(float time);
	void Render();
	void Imgui();
	void ShutDown();
private:
	void linkMe(GLint vertShader, GLint fragShader);
	void compileShaderProgram();
	std::string getShaderInfoLog(GLuint shader);
	std::string getProgramInfoLog(GLuint program);
private:
	GLuint mTexHandle = 0;
	GLuint vaoHandle;
	GLuint programHandle;

};

} // namespace
#endif // !SAMPLE1_H
